/*
 * @FilePath: supplierList.js
 * @Author: 杜芬
 * @Date: 2024-08-16 17:28:56
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2024-08-19 11:55:03
 * Copyright: 2024 xxxTech CO.,LTD. All Rights Reserved.
 * @Descripttion: 供应商主数据页面
 */
import { Http } from '@/common/api'

// 供应商列表
// 分页查询
export const getList = '/srm/supplier/staff/page'

/**
 * 查询物料类型树
 * @param params
 * @return {*|Promise}
 */
export const apiMaterialTypeTree = async (params) => Http.post('/srm/materialType/tree', params)

// 特种人员--查询
export const supplierStaffSpecialUrl = '/srm/supplier/staff/special/page'

/**
 * 查询物料类型树
 * @param params
 * @return {*|Promise}
 */
export const apiSupplierRankList = async () => Http.post('/srm/rank/list')
